﻿using System;
using System.Collections.Generic;

namespace NewFormatProject.Infrastructure.EFCore
{
    public partial class SysUsers
    {
        public SysUsers()
        {
            ActionLogs = new HashSet<ActionLogs>();
            LoginLogs = new HashSet<LoginLogs>();
            UserRights = new HashSet<UserRights>();
        }

        public int UId { get; set; }
        public string UName { get; set; }
        public string UAccount { get; set; }
        public string URole { get; set; }
        public string UAvatar { get; set; }
        public string UPassword { get; set; }
        public string USalt { get; set; }
        public string UPhone { get; set; }
        public int? UJobId { get; set; }
        public int UIsActive { get; set; }
        public int UIsBan { get; set; }
        public DateTime UCreateTime { get; set; }

        public virtual Jobs UJob { get; set; }
        public virtual ICollection<ActionLogs> ActionLogs { get; set; }
        public virtual ICollection<LoginLogs> LoginLogs { get; set; }
        public virtual ICollection<UserRights> UserRights { get; set; }
    }
}
